import { request } from "@/utils/service"

/** 分机号分页查询 */
export function phoneExtListApi(data: any) {
  return request({
    url:"/system/phone/ext/list",
    method: "POST",
    data
  })
}

/** 分机号分配企业 */
export function editPhoneExtApi(data: any) {
  return request({
    url:"/system/phone/ext/update",
    method: "POST",
    data
  })
}

/** 分机号刷新 */
export function refreshPhoneExtApi(data?: any) {
  return request({
    url:"/system/phone/ext/refresh",
    method: "POST",
    data
  })
}

/** 分机号下拉使用 */
export function selectPhoneExtApi(data?: any) {
  return request({
    url:"/system/phone/ext/select",
    method: "POST",
    data
  })
}

